#pragma once
#include "Dictionary.h"

class MyComboBox
{
private:
	HWND hComboBox;
	HINSTANCE hInstance;
public:
	MyComboBox(void);
	~MyComboBox(void);
	HWND createComboBox(LPCWSTR text,int styles,int x, int y, int cx,int cy, HWND hParent, int id ,
		int nHeight,int fnWeight , BOOL fdwItalic , BOOL fdwUnderline, LPTSTR font, HINSTANCE hInst);
	HWND getHandle();
	void hide();
	void show();
	void setText(LPTSTR text);
	void setCurSel(int index);
	void add(LPTSTR szText);
	int count();
	LPTSTR getItem(int index);
	LPTSTR getText();
	void move(int x, int y, int cx, int cy);
};